import requests  # pip install requests
from lxml import etree  # pip install lxml

url = 'http://angelimg.spbeen.com/'

response = requests.get(url)

html = etree.HTML(response.text)
# print(html)
# results = html.xpath(".//div[@class='subnav']/a/text()")
# results = html.xpath(".//div[@class='subnav']/a/@href")

# print(len(results), results)

# alinks = html.xpath(".//div[@class='subnav']/a")
# for a in alinks:
#     link = a.xpath("./text()")
#     text = a.xpath("./@href")
#     print(text, link)

div_pic = html.xpath(".//div[@class='pic']")
for div in div_pic:
    results = div.xpath('./ul/li/a/img/@src')
    print(len(results), results)

image_links = html.xpath(".//div[@class='pic']//img/@src")
print(len(image_links), image_links)



